AI SDK Kotlin
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
createProviderToolFactory
create
Provider
Tool
Factory
fun
<
TInput
,
TContext
>
createProviderToolFactory
(
id
:
String
,
inputSerializer
:
KSerializer
<
TInput
>
,
inputSchema
:
Schema
<
TInput
>
,
description
:
String
=
"Provider tool "
)
:
ProviderToolFactory
<
TInput
,
TContext
>